@echo off
echo 启动 MobileControlGuru 调试...
cd /d "D:\MobileControlGuru"
call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat"
echo 清理项目...
msbuild MobileControlGuru.sln /t:Clean
echo 恢复NuGet包...
nuget restore MobileControlGuru.sln
echo 重新构建项目...
msbuild MobileControlGuru.sln /p:Configuration=Debug
echo 启动程序...
start "" "bin\Debug\MobileControlGuru.exe"
pause